package com.bishe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bishe.entity.User;
import com.bishe.entity.query.UserQuery;
import com.bishe.entity.response.LoginInfo;
import com.bishe.entity.response.UserInfo;

/**
* @author wwz
* @description 针对表【user】的数据库操作Service
* @createDate 2024-03-04 13:57:33
*/
public interface UserService extends IService<User> {

    IPage<User> getPage(UserQuery query);

    /**
     * 用户登录
     * @param loginInfo
     * @return
     */
    UserInfo login(LoginInfo loginInfo);
}
